package com.project.purchase.Service.Imp;

import com.project.purchase.Service.IDepartment;
import com.project.purchase.mapper.DepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author VX5
 * @Title: QZP
 * @ProjectName purchase
 * @Description: TODO
 * @date ${DAT}15:49
 */
@Service
public class DepartmentImp implements IDepartment {

    @Autowired
    DepartmentMapper departmentMapper;

    @Override
    public String GetIDByName(String name) {
        return departmentMapper.GetIDByName(name);
    }
}
